--- tests/libbamf/test-libbamf.c.orig	2014-03-21 21:28:40.000000000 -0600
+++ tests/libbamf/test-libbamf.c	2014-03-21 21:29:41.000000000 -0600
@@ -30,7 +30,10 @@
 gint
 main (gint argc, gchar *argv[])
 {
-  g_type_init ();
+#if !GLIB_CHECK_VERSION(2, 36, 0)
+  g_type_init ();	//	deprecated in glib 2.36.0+
+#endif
+
   g_test_init (&argc, &argv, NULL);
 
   gtk_init (&argc, &argv);
